package com.suixun.dao.batchmanage;

import java.util.List;
import java.util.Map;

import com.suixun.entity.BatchInfo;
import com.suixun.entity.form.ParamForm;

/**
 * 
 * @author pyl
 *
 */
public interface BatchServiceDAO {

	List<BatchInfo> queryBatchlist(ParamForm page);
	
	Integer deleteBatch(int id);
	
	Integer updateBatch(Map<String,Object> map);
	
	Integer addBatch(Map<String,Object> map);
	
	Integer queryBatchDeviceCounts(ParamForm page);
	
	BatchInfo queryBatchByID(ParamForm paramForm);
	/**
	 * 
	 * <p>Title: queryBatchByCode</p>
	 * <p> 功能描述:按批号查询 </p>
	 * @param paramForm
	 * @return
	 */
	List<BatchInfo> queryBatchByCode(ParamForm paramForm);
}
